package com.client.controller;

import com.api.ClueServiceApi;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;


@RestController
public class ClueClientController {

    @Autowired
    private ClueServiceApi clueServiceApi;

    @GetMapping
    private Object select(){
        return clueServiceApi.list();
    }
}
